package org.example.score.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 参加创新创业训练计划数据表
 * @TableName pd_cxcyxljh
 */
@TableName(value ="pd_cxcyxljh")
@Data
public class Cxcyxljh implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 年份
     */
    private String year;

    /**
     * 学校代码
     */
    private String xxdm;

    /**
     * 学校名称
     */
    private String xxmc;

    /**
     * 校内专业名称
     */
    private String xnzymc;

    /**
     * 专业代码
     */
    private String zydm;

    /**
     * 专业名称
     */
    private String zymc;

    /**
     * 所属单位名称
     */
    private String ssdwmc;

    /**
     * 所属单位号
     */
    private String ssdwh;

    /**
     * 参加大学生创新创业训练计划总数
     */
    private String cjdxscxcyxljhzs;

    /**
     * 参加大学生创新创业训练计划创新国家级
     */
    private String cjdxscxcyxljhcxgjj;

    /**
     * 参加大学生创新创业训练计划创业国家级
     */
    private String cjdxscxcyxljhcygjj;

    /**
     * 参加大学生创新创业训练计划创新省部级
     */
    private String cjdxscxcyxljhcxsbj;

    /**
     * 参加大学生创新创业训练计划创业省部级
     */
    private String cjdxscxcyxljhcysbj;

    /**
     * 国家级总数（创新国家级+创业国家级）
     */
    private String gjjzs;

    /**
     * 省级总数（创新省部级+创业省部级）
     */
    private String sjzs;



    /**
     * 在同专业得分
     */
    private Double ztzydf;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Cxcyxljh other = (Cxcyxljh) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getYear() == null ? other.getYear() == null : this.getYear().equals(other.getYear()))
            && (this.getXxdm() == null ? other.getXxdm() == null : this.getXxdm().equals(other.getXxdm()))
            && (this.getXxmc() == null ? other.getXxmc() == null : this.getXxmc().equals(other.getXxmc()))
            && (this.getXnzymc() == null ? other.getXnzymc() == null : this.getXnzymc().equals(other.getXnzymc()))
            && (this.getZydm() == null ? other.getZydm() == null : this.getZydm().equals(other.getZydm()))
            && (this.getZymc() == null ? other.getZymc() == null : this.getZymc().equals(other.getZymc()))
            && (this.getSsdwmc() == null ? other.getSsdwmc() == null : this.getSsdwmc().equals(other.getSsdwmc()))
            && (this.getSsdwh() == null ? other.getSsdwh() == null : this.getSsdwh().equals(other.getSsdwh()))
            && (this.getCjdxscxcyxljhzs() == null ? other.getCjdxscxcyxljhzs() == null : this.getCjdxscxcyxljhzs().equals(other.getCjdxscxcyxljhzs()))
            && (this.getCjdxscxcyxljhcxgjj() == null ? other.getCjdxscxcyxljhcxgjj() == null : this.getCjdxscxcyxljhcxgjj().equals(other.getCjdxscxcyxljhcxgjj()))
            && (this.getCjdxscxcyxljhcygjj() == null ? other.getCjdxscxcyxljhcygjj() == null : this.getCjdxscxcyxljhcygjj().equals(other.getCjdxscxcyxljhcygjj()))
            && (this.getCjdxscxcyxljhcxsbj() == null ? other.getCjdxscxcyxljhcxsbj() == null : this.getCjdxscxcyxljhcxsbj().equals(other.getCjdxscxcyxljhcxsbj()))
            && (this.getCjdxscxcyxljhcysbj() == null ? other.getCjdxscxcyxljhcysbj() == null : this.getCjdxscxcyxljhcysbj().equals(other.getCjdxscxcyxljhcysbj()))
            && (this.getGjjzs() == null ? other.getGjjzs() == null : this.getGjjzs().equals(other.getGjjzs()))
            && (this.getSjzs() == null ? other.getSjzs() == null : this.getSjzs().equals(other.getSjzs()))
            && (this.getZtzydf() == null ? other.getZtzydf() == null : this.getZtzydf().equals(other.getZtzydf()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getYear() == null) ? 0 : getYear().hashCode());
        result = prime * result + ((getXxdm() == null) ? 0 : getXxdm().hashCode());
        result = prime * result + ((getXxmc() == null) ? 0 : getXxmc().hashCode());
        result = prime * result + ((getXnzymc() == null) ? 0 : getXnzymc().hashCode());
        result = prime * result + ((getZydm() == null) ? 0 : getZydm().hashCode());
        result = prime * result + ((getZymc() == null) ? 0 : getZymc().hashCode());
        result = prime * result + ((getSsdwmc() == null) ? 0 : getSsdwmc().hashCode());
        result = prime * result + ((getSsdwh() == null) ? 0 : getSsdwh().hashCode());
        result = prime * result + ((getCjdxscxcyxljhzs() == null) ? 0 : getCjdxscxcyxljhzs().hashCode());
        result = prime * result + ((getCjdxscxcyxljhcxgjj() == null) ? 0 : getCjdxscxcyxljhcxgjj().hashCode());
        result = prime * result + ((getCjdxscxcyxljhcygjj() == null) ? 0 : getCjdxscxcyxljhcygjj().hashCode());
        result = prime * result + ((getCjdxscxcyxljhcxsbj() == null) ? 0 : getCjdxscxcyxljhcxsbj().hashCode());
        result = prime * result + ((getCjdxscxcyxljhcysbj() == null) ? 0 : getCjdxscxcyxljhcysbj().hashCode());
        result = prime * result + ((getGjjzs() == null) ? 0 : getGjjzs().hashCode());
        result = prime * result + ((getSjzs() == null) ? 0 : getSjzs().hashCode());
        result = prime * result + ((getZtzydf() == null) ? 0 : getZtzydf().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", year=").append(year);
        sb.append(", xxdm=").append(xxdm);
        sb.append(", xxmc=").append(xxmc);
        sb.append(", xnmzymc=").append(xnzymc);
        sb.append(", zydm=").append(zydm);
        sb.append(", zymc=").append(zymc);
        sb.append(", ssdwmc=").append(ssdwmc);
        sb.append(", ssdwh=").append(ssdwh);
        sb.append(", cjdxscxcyxljhzs=").append(cjdxscxcyxljhzs);
        sb.append(", cjdxscxcyxljhcxgjj=").append(cjdxscxcyxljhcxgjj);
        sb.append(", cjdxscxcyxljhcygjj=").append(cjdxscxcyxljhcygjj);
        sb.append(", cjdxscxcyxljhcxsbj=").append(cjdxscxcyxljhcxsbj);
        sb.append(", cjdxscxcyxljhcysbj=").append(cjdxscxcyxljhcysbj);
        sb.append(", gjjzs=").append(gjjzs);
        sb.append(", sjzs=").append(sjzs);
        sb.append(", ztzydf=").append(ztzydf);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}